翻訳と辞書
Words near each other
・ dual boot
・ dual in-line
・ dual in-line memory module
・ dual in-line package
・ dual ported
・ dual tone multi frequency
・ dual-607
・ dual-attached
・ dual-homed
・ dual-stack
duck typing
・ duel
・ duff's device
・ dumb terminal
・ dumbed down
・ dump
・ dumpster diving
・ dungeon
・ dup killer
・ dup loop


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

duck typing : FOLDOC
duck typing
A term coined by Dave Thomas for a kind of dynamic typing typical of some programming languages, such as Smalltalk, Ruby or Visual FoxPro, where a variable's run time value determines the operations that can be performed on it.
The term comes from the "duck test": if it walks like a duck and quacks like a duck, it must be a duck.
Duck typing considers the methods to which a value responds and the attributes it posesses rather than its relationship to a type hierarchy. This encourages greater polymorphism because types are enforced as late as possible.
{(http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/100511)}.
(2006-09-13)



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.